package com.linkhub.oms.admin.modules.wms.domain.dto;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author Jaycle
 * @version 1.0.0
 * @Description TransferOrderNoticeDTO.java
 * @createTime 2024/06/15 23:14
 */
@Data
@NoArgsConstructor
public class TransferOrderNoticeDTO {
    private String adjustmentOrderCode;
    private String warehouseCode;
    private String ownerCode;
    private String outBizCode;
    private List<OrderLine> orderLines;

    @Data
    @NoArgsConstructor
    public static class OrderLine {
        private String itemCode;
        private String itemId;
        private String actualQty;
        private Source source;
        private Target target;

        @Data
        @NoArgsConstructor
        public static class Source {
            private String inventoryType;
            private String virtualWarehouse;
            private String stockinDate;
            private String userDefined1;
        }

        @Data
        @NoArgsConstructor
        public static class Target {
            private String inventoryType;
            private String virtualWarehouse;
            private String stockinDate;
            private String userDefined1;
        }
    }
}
